Announcement

Collapse
No announcement yet.

New vray framebuffer doesn`t apply adjustments to render elements.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • New vray framebuffer doesn`t apply adjustments to render elements.

    Hello!

    Couple of question:
    - Is it normal that new vray FB apply postwork adjustments you do in FB only to beauty pass? All other render elements saved without it?
    - Can you roll back to older vray FB in max 2020?

    Thanks!

  • #2
    Yes, it is. The old VFB did display the color corrections in the elements, but they weren't saved in the image.
    Yes, you can bring back the old VFB with this environment variable:
    Code:
    VRAY_VFB2_ENABLED=0
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Originally posted by aleksandar.hadzhiev View Post
      Yes, it is. The old VFB did display the color corrections in the elements, but they weren't saved in the image.
      Yes, you can bring back the old VFB with this environment variable:
      Code:
      VRAY_VFB2_ENABLED=0
      Thank you for your help!

      Old VFB saves all adjustments to the layers. Have a look at this preview. I did a simple exposure change to the image and this applied and saved to all render elements too (reflection and specular in this case).
      But NEW VFB in Vray 5 do not save this to render elements. Only beauty pass saved with this adjustments. Why? And how do i get it saved to all render passes?
      That was my question.

      Comment


      • #4
        Saving via Separate Render Chanels always used to apply corrections to most render channels in V-Ray Next. I also did receive questions regarding this from psd-manager customers that use V-Ray 5, because the change also influences the psd-manager export. So I had a lengthy discussion about this with a user to understand where the need for this is actually coming from.
        The use case basically is using the color corrections to do tone mapping (using e.g. Exposure, Filmic Tonemap) and then saving to a low dynamic range format. This workflow is where the new framebuffer falls short now, because it only modifies the end result (RGB or effectsResult). So additional channels like VRayLightSelects, Reflection etc. end up overexposed and are not as useful in post production anymore when working in low dynamic range (8/16 bits).

        Regards,
        Daniel
        Daniel Schmidt - Developer of psd-manager

        Comment


        • #5
          Thanks a lot Daniel! Looks like new VFB useless for post production. Wonderful update of VFB X)

          Comment


          • #6
            Hi,
            I've been struggling with this problem too since I started to use the inital version of Vray 5, but I found a workaround.
            - Go into the layer and select the Composite source mode.
            - Create a render element layer (Specular, Reflection, etc.)
            - then save the image manually, the color correction you made in the VFB would be applied to your image.

            This system do the trick for me but it is not optimal as I have to save each render elements manually one by one.
            It's definitely not handy if you make an animation or if you have to save many images everyday.

            Another trick would be to extract a LUT from the VFB2. I've seen that you can do that now in Vray 5.1. Just right click in the layers "Save as LUT" and just extract the .cube file.
            If you use Nuke you can then use vectorfield to use your LUT and apply it.


            hermit.crab , just to give you my reason why I need the render element with the color correction applied on them. When working with a client, he always ask me for Specular, Reflection and Refraction pass just in case he need to make some adjustments, He is just making adjustment in photoshop in 8 or 16 bits. Saving these render elements several times per days can be really frustrating as it was really fast and easier in VFB1.
            I'm not saying that is should work like this for everybody but giving the choice to the user for controlling this, would be very nice. Like having a checkbox in the settings of VFB to apply or not the Color correction to all the render elements.
            What do you think about it ?

            Attached Files
            www.salasombath.com

            Comment


            • #7
              Pardon, the corrections were indeed saved through when outputting 'Separate render channels'. I would have to ask the development team if there is a reason for this change or if it is something missed out. For now, saving a LUT file and applying it in post seems like a decent workaround.

              EDIT: The behavior change is intentional due to the inaccuracy of baking color corrections onto the render passes. For now, use the LUT workaround. We'll brainstorm additionally for a more appropriate solution.
              Last edited by hermit.crab; 01-03-2021, 02:56 AM.
              Aleksandar Hadzhiev | chaos.com
              Chaos Support Representative | contact us

              Comment


              • #8
                Originally posted by dans View Post
                The use case basically is using the color corrections to do tone mapping (using e.g. Exposure, Filmic Tonemap) and then saving to a low dynamic range format. This workflow is where the new framebuffer falls short now, because it only modifies the end result (RGB or effectsResult). So additional channels like VRayLightSelects, Reflection etc. end up overexposed and are not as useful in post production anymore when working in low dynamic range (8/16 bits).
                The question that comes to mind is why would the user demote FP material to do compositing in integers?
                Is this common practice? If it is, what benefits would it bring to the table? Should we promote it, even when there are obvious reasons to discourage it from a technical point of view?
                Lele
                Trouble Stirrer in RnD @ Chaos
                ----------------------
                emanuele.lecchi@chaos.com

                Disclaimer:
                The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                Comment


                • #9
                  Can only speak for myself, but working in 32 bit in Photoshop is not ideal. We almost always switch to 16bit right away. Having the ability to have color corrections applied to render elements allow us to make easier/ more predictable adjustments in Photoshop when working with the final rgb pass.

                  Comment


                  • #10
                    Hi @Lele,

                    For my point of view having the render elements Color Corrected applied on them is a gain of time.
                    It means that I'll not have to open another software like photoshop or nuke to apply these CC on them with the help of an LUT.
                    I don't say that it is the correct way to compose the images but it just give my client (art director) the ability to make some artistic changes on the renders I give him. Once again my use for this workflow is only for reflection, specular and rarely refraction, it can be useful to just make the image pop a bit more.
                    And having to apply these CC manually on every render I need to send, every day, is a huge waste of time and also memory because I'll have to save the original version and the Color corrected version.
                    I think the new layer system in the VFB2 has been made to fasten the workflow of the artist and being able to do all these small changes directly inside VRay, so giving the optional possibility to apply the CC with a checkbox f.e. is not a bad idea.
                    The problem for many people is that it was possible to do it for a long time in the previous versions of VRay. I know that changes in habits is always difficult, but here is not the question, it's more about being more efficient and not losing time on unnecessary things.

                    And sure I understand that in the case of a linear workflow case scenario applying the CC is not the correct way

                    What do you think ?
                    www.salasombath.com

                    Comment


                    • #11
                      I see the point, indeed.
                      Well, there would be ways to do a few things automatically now that we have most of the maxscript controls implemented.
                      Like take a given CC, apply it to each RE individually, and saving it out, via the composite tab.

                      Alas, i'd think the best of ways would be to use the VFB2 (or possibly the future standalone editor) to set up the shot, and then pass the vrimg file over, along with a vfb layer preset file.
                      so one could get a backToBeauty recomp and grading done, down even to object selections and masks, and pass the whole thing on for changes.
                      Once changes are implemented (and if it is to work well towards this goal of revisions, perhaps we'd need an annotation layer. Which is the suggestion that will ruin my friendship with Yavor. ), the new layer preset could be sent back, so the full latitude of compositing could take over.

                      It would be also very interesting for us to hear what exactly is particularly useful of photoshop, in term of tools and workflows, so that what is humanly possible, and makes operative sense, could perhaps be implemented over time.
                      It's bound to be a moving target over the years, alas standing still doesn't get one get anywhere at all.

                      Thoughts? Suggestions? Warnings?
                      Last edited by ^Lele^; 01-03-2021, 07:55 AM.
                      Lele
                      Trouble Stirrer in RnD @ Chaos
                      ----------------------
                      emanuele.lecchi@chaos.com

                      Disclaimer:
                      The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                      Comment


                      • #12
                        I could also maybe share our insights to this topic, because I was the one talking quite heavily with Daniel (psd-manager developer) about this topic.

                        We mainly try to stick on just 8bit most of the time, we only change this if we think the image needs a 16/32bit output (night, dark, golden hour, etc.). The main reason why we tend to use 8bit is because photoshop is still in 2021 sooo slow in everything higher than 8bit and many (not all) dont really see that the benefits are worth the outcome. Second one, not so important but a valid point, file sizes. With different iterations and change requests from the client, internal, etc. it would also have quite and impact if you would switch to 16 or 32bit.

                        So we try to get the color corrections as much as possible right in the vfb and then working, on the details in photoshop. Therefor we were using the exposure with the highlight burn quite heavy in order to tone down overexposed areas. In vray next this was working quite well together with the psd-manager. But in vray 5 it doesnt, because the vfb corrections arent getting applied to all the other elements like denoiser, lightmixes, passes, etc.

                        Comment


                        • #13
                          lele , your proposition seem interesting with the vrimg, however would it not be more simple if, with one script/button/whatever when the render is finished, it goes on composite mode and create one render element layer (reflection, specular, etc.) and save it separately applying the CC, it will use de dropdown menu to select the next render element and save it, etc.
                          Basically, what I was doing manually for each render elements. You can see attached my process.
                          This way you don't have to save the vrimg with all the render elements inside then process it, again I'm just thinking about memory efficiency.

                          For the tools used in Photoshop, mostly I used these adjustment layers : vibrance (that's a bit different that hue), photo filter, invert, gradient, gradient map, curve, and brightness/contrast.
                          So for the moment in the VFB2 I can create the curve and the photo filter with a constant.

                          A Note layer or a way to rename the layers would be a very nice addition to the VFB2 !

                          Attached Files
                          www.salasombath.com

                          Comment


                          • #14
                            In the layer properties, the first box with the layer name, which defaults to the layer class, is fully editable.
                            Yes, the method you propose for the layers is what i had in mind, more or less.
                            It's still likely better done from within C++ (i.e. some option.), but i'll surely look into it.

                            Thanks for the tools and methods list!

                            Last but not least: so you'd be all cool if the applicaiton of the CCs led to *different* outputs, due to precision errors?
                            Meaning, you're already comfortable doing this with Photoshop, at lower bit depth, and are happy with the results?
                            Lele
                            Trouble Stirrer in RnD @ Chaos
                            ----------------------
                            emanuele.lecchi@chaos.com

                            Disclaimer:
                            The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                            Comment


                            • #15
                              Oh cool I didn't see that this box was editable, thanks !
                              I was trying a right click on the layers and could not find a rename option.

                              If you think it's best in C++ I'm totally ok for it as I have zero knowledge in coding

                              From my side I'm OK with the precision errors, because if I need to have it 100% correct I'll go for the LUT solution in 32 bits.

                              Thanks lele for the help !
                              www.salasombath.com

                              Comment

                              Working...
                              X